package week05;

import org.springframework.stereotype.Component;

import java.util.Arrays;
import java.util.Collections;
import java.util.List;

/**
 * @author edward
 * @since 2021-07-20
 */
@Component("resInAnnotation")
public class LexicalResource {
    public List<String> kindOf(String kind) {
        if ("language".equalsIgnoreCase(kind)) {
            return Arrays.asList("Java", "C++", "Python", "C#", "C", "Ruby");
        }
        return Collections.singletonList("N/A");
    }
}
